package com.demo.shiro.mapper;

import com.demo.shiro.config.MyMapper;
import com.demo.shiro.model.Role;
import com.demo.shiro.model.UserRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

public interface UserRoleMapper extends MyMapper<UserRole> {

    List<Role> findByUserName(String userName);
}